package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (MembershipCard)实体类
 *
 * @author makejava
 * @since 2020-10-26 20:29:39
 */
@ApiModel(value = "会员卡信息")
public class MembershipCard implements Serializable {
    private static final long serialVersionUID = 113075444978719413L;
    /**
     * 会员卡号
     */
    @ApiModelProperty(name = "memberId",notes = "会员卡号",value = "会员卡号")
    private Integer memberId;
    /**
     * 会员性别
     */
    @ApiModelProperty(name = "memberSex",notes = "会员性别",value = "会员性别")
    private String memberSex;
    /**
     * 身份证卡号
     */
    @ApiModelProperty(name = "memberIdcard",notes = "身份证卡号",value = "身份证卡号")
    private String memberIdcard;
    /**
     * 总积分
     */
    @ApiModelProperty(name = "memberTotalscore",notes = "总积分",value = "总积分")
    private String memberTotalscore;
    /**
     * 会员名称
     */
    @ApiModelProperty(name = "memberName",notes = "会员名称",value = "会员名称")
    private String memberName;
    /**
     * 会员类型
     */
    @ApiModelProperty(name = "memberType",notes = "会员类型",value = "会员类型")
    private String memberType;
    /**
     * 生日
     */
    @ApiModelProperty(name = "brithday",notes = "生日",value = "生日")
    private String brithday;
    /**
     * 联系方式
     */
    @ApiModelProperty(name = "phoneNumber",notes = "联系方式",value = "联系方式")
    private String phoneNumber;
    /**
     * 总消费金额
     */
    @ApiModelProperty(name = "totalConsumption",notes = "总消费金额",value = "总消费金额")
    private String totalConsumption;
    /**
     * 开卡时间
     */
    @ApiModelProperty(name = "cdate",notes = "开卡时间",value = "开卡时间")
    private String cdate;
    /**
     * 会员卡id（外键）
     */
    @ApiModelProperty(name = "membershipCardId",notes = "会员卡id（外键）",value = "会员卡id（外键）")
    private Integer membershipCardId;
    /**
     * 分店（外键）
     */
    @ApiModelProperty(name = "branchCode",notes = "分店（外键）",value = "分店（外键）")
    private Integer branchCode;

    /**
     * 分店名字
     */
    @ApiModelProperty(name = "store_name",notes = "分店名字",value = "分店名字")
    private String store_name;
    /**
     * 状态
     */
    @ApiModelProperty(name = "statu",notes = "状态",value = "状态")
    private Integer statu;

    private Branch branch;

    private MembershipCardType membershipCardType;

    public String getStore_name() {
        return store_name;
    }

    public void setStore_name(String store_name) {
        this.store_name = store_name;
    }

    public Branch getBranch() {
        return branch;
    }


    public void setBranch(Branch branch) {
        this.branch = branch;
    }

    public MembershipCardType getMembershipCardType() {
        return membershipCardType;
    }

    public void setMembershipCardType(MembershipCardType membershipCardType) {
        this.membershipCardType = membershipCardType;
    }

    public Integer getStatu() {
        return statu;
    }

    public void setStatu(Integer statu) {
        this.statu = statu;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public String getMemberSex() {
        return memberSex;
    }

    public void setMemberSex(String memberSex) {
        this.memberSex = memberSex;
    }

    public String getMemberIdcard() {
        return memberIdcard;
    }

    public void setMemberIdcard(String memberIdcard) {
        this.memberIdcard = memberIdcard;
    }

    public String getMemberTotalscore() {
        return memberTotalscore;
    }

    public void setMemberTotalscore(String memberTotalscore) {
        this.memberTotalscore = memberTotalscore;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberType() {
        return memberType;
    }

    public void setMemberType(String memberType) {
        this.memberType = memberType;
    }

    public String getBrithday() {
        return brithday;
    }

    public void setBrithday(String brithday) {
        this.brithday = brithday;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getTotalConsumption() {
        return totalConsumption;
    }

    public void setTotalConsumption(String totalConsumption) {
        this.totalConsumption = totalConsumption;
    }

    public String getCdate() {
        return cdate;
    }

    public void setCdate(String cdate) {
        this.cdate = cdate;
    }

    public Integer getMembershipCardId() {
        return membershipCardId;
    }

    public void setMembershipCardId(Integer membershipCardId) {
        this.membershipCardId = membershipCardId;
    }

    public Integer getBranchCode() {
        return branchCode;
    }

    public void setBranchCode(Integer branchCode) {
        this.branchCode = branchCode;
    }

    @Override
    public String toString() {
        return "MembershipCard{" +
                "memberId=" + memberId +
                ", memberSex='" + memberSex + '\'' +
                ", memberIdcard='" + memberIdcard + '\'' +
                ", memberTotalscore='" + memberTotalscore + '\'' +
                ", memberName='" + memberName + '\'' +
                ", memberType='" + memberType + '\'' +
                ", brithday='" + brithday + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", totalConsumption='" + totalConsumption + '\'' +
                ", date='" + cdate + '\'' +
                ", membershipCardId=" + membershipCardId +
                ", branchCode=" + branchCode +
                '}';
    }
}